<?php
/**
 * 数据库类接口文件
 * 
 * @author Alen
 * @since 1.0.0 2013-9-3 sutroon
 */
interface ISoDbHelper {
    function combin_select_sql($table, $search, $fields = '*');
    function select_arrayset($table, $search, $fields = '*');
    function select_column_values($table, $search,$fields='*', $columnid=0);
    function select_object($table, $search, $field);
    function select_one_row($table, $search, $fields = '*');
    function select_value($table, $search, $fields = '*', $defv = '');
    function execute_sql($sql);
    function update_records($table,$fields,$search);
    function insert_record($table,$names,$values,$lastsearch='order by ID desc',$key='ID');
    function delete_records($table,$search);
    function show_tables();
    function backup_table_structure($table,$isdrop=false,$nl='\r\n');
    function backup_table_data($table, $crlf='\r\n');
    function backup_all_db();
    function select_pagingset($pageindex,$pagesize,&$recordcount,$from,$fields='*',$orderby='CreatedTime desc');
}

?>
